package com.restaurant.service;

import java.util.List;
import com.restaurant.domain.Discountype;

public interface DiscountypeService {

   public Discountype addOrModify( Discountype objDiscountype ) throws Exception;
   public Discountype deleteRecord( Discountype objDiscountype ) throws Exception;
   public Discountype modifyRecord( Discountype objDiscountype ) throws Exception;
   public List<Discountype> loadAll() throws Exception;
   public Discountype loadByPrimaryKey( Long primaryKey ) throws Exception;
   public Discountype deleteByPrimaryKey( Long primaryKey ) throws Exception;
   public List<Discountype> loadByHql( String query ) throws Exception;

}